<?php

namespace app\common\model;

use think\model\relation\BelongsTo;

class Supplier extends BaseModel
{
    public function dealer(): BelongsTo
    {
        return $this->belongsTo(Dealer::class, 'dealer_id', 'id');
    }
}